<template>
  <div>
    <button class="Click-login" @click="handleClick">{{ btnText }}</button>
  </div>
</template>

<script>
export default {
  props: ["btnText"],
  methods: {
    handleClick() {
      console.log("按钮被点击了");
      this.$emit("clicked");
    }
  }
};
</script>

<style>
.Click-login {
  margin-top: 9.72vw;
  margin-left: 8.06vw;
  width: 83.33vw;
  height: 13.89vw;
  border: none;
  border-radius: 6.94vw;
  background: #cc3300;
  font-size: 5.56vw;
  color: white;
}
</style>
